package Work4;

public class yaungong extends Work{
    double may;

    @Override
    public void print() {
        super.print();
    }

    public yaungong(String name, int day, double money) {
        super(name, day, money);
        may=day*money;
    }
}
